home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 68161 / 68161.xpi / chrome / content / preferences.xul < prev    next >
Extensible Markup Language  |  2010-01-29  |  5KB  |  105 lines

  1. <?xml version="1.0"?>
  2. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  3. <!DOCTYPE prefwindow [
  4.     <!ENTITY % twitkitplusDTD SYSTEM "chrome://twitkitplus/locale/twitkitplus.dtd">
  5.     %twitkitplusDTD;
  6.     <!ENTITY % prefsDTD SYSTEM "chrome://twitkitplus/locale/preferences.dtd">
  7.     %prefsDTD;
  8. ]>
  9. <prefwindow id="twitkitplusOptions" title="&prefs.title;"  
  10.   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  11.   buttons="accept,cancel,help"
  12.   onload="sizeToContent;"
  13.   windowtype="TwitKitplus:Preferences"
  14.   persist="screenX screenY">
  15.         <prefpane id="TwitKitplusOptionsPane">
  16.                 <preferences>
  17.                         <preference id="extensions.twitkitplus.showAppSource" name="extensions.twitkitplus.showAppSource" type="bool"/>
  18.                         <preference id="extensions.twitkitplus.refreshInterval" name="extensions.twitkitplus.refreshInterval" type="int"/>
  19.                         <preference id="extensions.twitkitplus.showNamesAs" name="extensions.twitkitplus.showNamesAs" type="string"/>
  20.                         <preference id="extensions.twitkitplus.colorScheme" name="extensions.twitkitplus.colorScheme" type="string"/>
  21.                         <preference id="extensions.twitkitplus.shortenerService" name="extensions.twitkitplus.shortenerService" type="string"/>
  22.                         <preference id="extensions.twitkitplus.fontSize" name="extensions.twitkitplus.fontSize" type="string"/>
  23.                         <preference id="extensions.twitkitplus.secureConnection" name="extensions.twitkitplus.secureConnection" type="bool"/>
  24.                 </preferences>
  25.                <tabbox>
  26.                        <tabs>
  27.                                <tab label="&prefs.general;" />
  28.                                <tab label="&prefs.theme;" />
  29.                                <tab label="&prefs.connection;" />
  30.                        </tabs>
  31.                        <tabpanels>
  32.                                <tabpanel>
  33.                                         <grid>
  34.                                                 <rows>
  35.                                                        <row>
  36.                                                            <row>
  37.                                                             <checkbox label="&prefs.general.showAppSource;" preference="extensions.twitkitplus.showAppSource"/>
  38.                                                            </row>
  39.                                                        </row>
  40.                                                        <row>
  41.                                                                <label flex="1">&prefs.general.refreshInterval;</label>
  42.                                                                <menulist id="refreshInterval" preference="extensions.twitkitplus.refreshInterval">
  43.                                                                        <menupopup>
  44.                                                                                 <menuitem value="30000" label="&prefs.general.refreshInterval.30;"/>
  45.                                                                                 <menuitem value="60000" label="&prefs.general.refreshInterval.1;"/>
  46.                                                                                 <menuitem value="180000" label="&prefs.general.refreshInterval.3;"/>
  47.                                                                                 <menuitem value="300000" label="&prefs.general.refreshInterval.5;"/>
  48.                                                                                 <menuitem value="600000" label="&prefs.general.refreshInterval.10;"/>
  49.                                                                         </menupopup>
  50.                                                                </menulist>
  51.                                                        </row>
  52.                                                        <row>
  53.                                                                <label flex="1">&prefs.general.showNamesAs;</label>
  54.                                                                <menulist id="showNamesAs" preference="extensions.twitkitplus.showNamesAs">
  55.                                                                        <menupopup>
  56.                                                                                <menuitem value="screennames" label="&prefs.general.showNamesAs.screenNames;"/>
  57.                                                                                <menuitem value="fullnames" label="&prefs.general.showNamesAs.fullNames;"/>
  58.                                                                        </menupopup>
  59.                                                                </menulist>
  60.                                                     </row>
  61.                                                     <row>
  62.                                                             <label flex="1">&prefs.general.shortenerService;</label>
  63.                                                             <menulist id="shortenerService" preference="extensions.twitkitplus.shortenerService">
  64.                                                                     <menupopup>
  65.                                                                             <menuitem value="bit.ly" label="&prefs.general.shortenerService.bitLy;"/>
  66.                                                                             <menuitem value="is.gd" label="&prefs.general.shortenerService.isGd;"/>
  67.                                                                             <menuitem value="tinyurl" label="&prefs.general.shortenerService.tinyUrl;"/>
  68.                                                                             <menuitem value="tr.im" label="&prefs.general.shortenerService.trIm;"/>
  69.                                                                             <menuitem value="xrl.us" label="&prefs.general.shortenerService.xrlUs;"/>
  70.                                                                     </menupopup>
  71.                                                             </menulist>
  72.                                                     </row>
  73.                                                </rows>
  74.                                         </grid>
  75.                                 </tabpanel>
  76.                                 <tabpanel>
  77.                                         <grid>
  78.                                                 <rows>
  79.                                                         <row>
  80.                                                                 <label flex="1">&prefs.theme.colorScheme;</label>
  81.                                                                 <menulist id="colorScheme" preference="extensions.twitkitplus.colorScheme">
  82.                                                                         <menupopup>
  83.                                                                                 <menuitem value="deepBrown" label="&prefs.theme.colorScheme.deepBrown;"/>
  84.                                                                                 <menuitem value="twitterBlue" label="&prefs.theme.colorScheme.twitterBlue;"/>
  85.                                                                                 <menuitem value="pastel" label="&prefs.theme.colorScheme.pastel;"/>
  86.                                                                                 <menuitem value="muted" label="&prefs.theme.colorScheme.muted;"/>
  87.                                                                         </menupopup>
  88.                                                                 </menulist>
  89.                                                         </row>
  90.                                                         <row>
  91.                                                                 <label flex="1">&prefs.theme.fontSize;</label>
  92.                                                                 <textbox preference="extensions.twitkitplus.fontSize"></textbox>
  93.                                                                 <label flex="1">%</label>
  94.                                                         </row>
  95.                                                 </rows>
  96.                                         </grid>
  97.                                 </tabpanel>
  98.                                 <tabpanel>
  99.                                         <checkbox label="&prefs.connection.secureConnection;" preference="extensions.twitkitplus.secureConnection"/>
  100.                                 </tabpanel>
  101.                         </tabpanels>
  102.                 </tabbox>
  103.         </prefpane>
  104. </prefwindow>
  105.